using InventoryIssue.Dtos;
using InventoryIssue.ErrorCode;
using MediatR;

namespace InventoryIssue.API.Read.Application.Command.Allocate
{
    public class GetOperationRecordCommand : IRequest<APIPaging<OperationRecordDto>>
    {
        public int? PageIndex { get; set; } = 1;
        public int? PageSize { get; set; } = 15;
        /// <summary>
        /// 调拨单号
        /// </summary>
        public int? AllocateId { get; set; }
        /// <summary>
        /// 操作时间开始
        /// </summary>
        public DateTime? OperationTimeStart { get; set; }
        /// <summary>
        /// 操作时间结束
        /// </summary>
        public DateTime? OperationTimeEnd { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public string? Operator { get; set; }
        /// <summary>
        /// 操作类型
        /// </summary>
        public string? OperationType { get; set; }
    }
} 